<!---
	Copyright 2010 Edward Trudeau, Jeremy Battle
    This software is freely available under the MIT License: http://www.opensource.org/licenses/mit-license.php
    http://ayc.googlecode.com
    
--->

<cfcomponent name="UserRoleService" output="false" extends="_UserRoleService">
	
    <cfset variables.objectInstance = structNew() />
	

	<cffunction name="init" access="public" output="false" returntype="UserRoleService">
		<cfargument name="UserRoleDAO" type="UserRoleDAO" required="true" />
		<cfargument name="UserRoleGateway" type="UserRoleGateway" required="true" />

		<cfset super.init(arguments.UserRoleDAO, arguments.UserRoleGateway) />

		<cfreturn this/>
	</cffunction>
    
    <cffunction name="getGateway" access="public" output="false" returntype="UserRoleGateway">
    	<cfreturn variables.UserRoleGateway />
    </cffunction>
    
    
    <cffunction name="getDAO" access="public" output="false" returntype="UserRoleDAO">
    	<cfreturn variables.UserRoleDAO />
    </cffunction>
</cfcomponent>


